#!/usr/bin/python3
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-

# bnetd - library routine for router daemon
#
# Copyright (c) 2005-2020 Fpemud <fpemud@sina.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN OBCONN WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

"""
@author: Fpemud
@license: GPLv3 License
@contact: fpemud@sina.com
"""


__author__ = "fpemud@sina.com (Fpemud)"
__version__ = "0.0.1"


from ._errors import InvalidCfgError

from ._egress import EgressBase
from ._egress import EgressIpHost
from ._egress import EgressDomainHost
from ._egress import EgressIpService
from ._egress import EgressDomainService

from ._egress import EgressEntityBase
from ._egress import EgressEntityIpRoutes
from ._egress import EgressEntityIpRoutesWithDnsService
from ._egress import EgressEntityProxyService
from ._egress import EgressEntityPacScript

from ._egress import EgressProviderBase
from ._egress import EgressProviderInterface
from ._egress import EgressProviderInterfaceGateway
from ._egress import EgressProviderObConn
from ._egress import EgressProviderIpHost
from ._egress import EgressProviderDomainHost
from ._egress import EgressProviderIpService
from ._egress import EgressProviderDomainService

from ._plugin import PluginType
from ._plugin import PluginObjectSource
from ._plugin import PluginBase
from ._plugin import UpLinkPluginBase
from ._plugin import SubNetPluginBase
from ._plugin import PeerNetPluginBase
from ._plugin import ObConnPluginBase
from ._plugin import GuestNetPluginBase

from ._uplink import UpLinkBase
from ._subnet import SubNetBase
from ._peernet import PeerNetBase
from ._obconn import ObConnBase
from ._guestnet import GuestNetBase


__all__ = [
    "InvalidCfgError",
    "EgressBase",
    "EgressIpHost",
    "EgressDomainHost",
    "EgressIpService",
    "EgressDomainService",
    "EgressEntityBase",
    "EgressEntityIpRoutes",
    "EgressEntityIpRoutesWithDnsService",
    "EgressEntityProxyService",
    "EgressEntityPacScript",
    "EgressProviderBase",
    "EgressProviderInterface",
    "EgressProviderInterfaceGateway",
    "EgressProviderObConn",
    "EgressProviderIpHost",
    "EgressProviderDomainHost",
    "EgressProviderIpService",
    "EgressProviderDomainService",
    "PluginType",
    "PluginObjectSource",
    "PluginBase",
    "UpLinkPluginBase",
    "SubNetPluginBase",
    "PeerNetPluginBase",
    "ObConnPluginBase",
    "GuestNetPluginBase",
    "UpLinkBase",
    "PeerNetBase",
    "SubNetBase",
    "ObConnBase",
    "GuestNetBase",
]
